.ptzControls {
/*    vertical-align: top;
    margin: 10px auto 0;
    width: 150px;*/
}

.ptzControls::after {
/*  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;*/
}

.ptzControls input.ptzTextBtn {
    margin-top: 2px;
}
.ptzControls .pantiltPanel button {
  border: none;
  margin: 0;
  padding: 0;
}

.ptzControls .controlsPanel {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.ptzControls input[type=image] {
    border: none;
}

.ptzControls .controlsPanel .arrowControl {
    width: 60px;
    margin: 0 4px;
    padding: 0;
}

.ptzControls .controlsPanel .arrowControl button.longArrowBtn {
    display: block;
}

.ptzControls .controlsPanel .longArrowBtn {
    width: 32px;
    height: 48px;
    margin: 0 auto;
    padding: 0;
    cursor: pointer;
}

/*
 * This is a bit of a hack as these lines should be in the above
 * section but that messes up layout on IE6
 */
/*
.ptzControls .controlsPanel > div > div.longArrowBtn {
    left: 50%;
    margin-left: -16px;
}
*/

.ptzControls .controlsPanel .upBtn {
    background: url("../skins/classic/graphics/arrow-l-u.png") no-repeat 0 0;
}

.ptzControls .controlsPanel .downBtn {
    background: url("../skins/classic/graphics/arrow-l-d.png") no-repeat 0 0;
}

.ptzControls .controlsPanel .focusControls {
}

.ptzControls .controlsPanel .zoomControls {
}

.ptzControls .controlsPanel .irisControls {
    text-align: center;
}

.ptzControls .controlsPanel .whiteControls {
    width: 120px;
    text-align: center;
}

.ptzControls .controlsPanel .pantiltPanel {
    margin: 0 auto;
    /* width: 100px; */ /* Probably unnecessary */
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .pantiltButtons {
    margin: 5px auto;
    border: 1px solid #006699;
    text-align: center;
    padding: 1px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .arrowBtn {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.pantiltButtons {
    position: relative;
}

.arrowBtn {
    position: absolute;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .upLeftBtn {
    background: url("../skins/classic/graphics/arrow-ul.png") no-repeat 0 0;
    left: 0;
    top: 0;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .upBtn {
    background: url("../skins/classic/graphics/arrow-u.png") no-repeat 0 0;
    left: 33px;
    top: 0;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .upRightBtn {
    background: url("../skins/classic/graphics/arrow-ur.png") no-repeat 0 0;
    left: 66px;
    top: 0;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .leftBtn {
    background: url("../skins/classic/graphics/arrow-l.png") no-repeat 0 0;
    left: 0;
    top: 33px;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .centerBtn {
    background: url("../skins/classic/graphics/center.png") no-repeat 0 0;
    left: 33px;
    top: 33px;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .rightBtn {
    background: url("../skins/classic/graphics/arrow-r.png") no-repeat 0 0;
    left: 66px;
    top: 33px;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .downLeftBtn {
    background: url("../skins/classic/graphics/arrow-dl.png") no-repeat 0 0;
    left: 0;
    top: 66px;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .downBtn {
    background: url("../skins/classic/graphics/arrow-d.png") no-repeat 0 0;
    left: 33px;
    top: 66px;
}

.ptzControls .controlsPanel .pantiltPanel .pantiltControls .downRightBtn {
    background: url("../skins/classic/graphics/arrow-dr.png") no-repeat 0 0;
    left: 66px;
    top: 66px;
}

.ptzControls .controlsPanel .powerControls,
.ptzControls .presetControls div {
}

.ptzControls .presetControls button {
    margin: 1px;
}

.ptzControls .presetControls button.ptzNumBtn {
    width: 45px;
}
